package com.cuit.qx.service;

import com.cuit.qx.entity.CorrectForecast;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cuit.qx.entity.Product;
import com.cuit.qx.utils.ReturnData;

import java.util.List;

/**
 * <p>
 * 订正预报表 服务类
 * </p>
 *
 * @author lcj
 * @since 2021-11-23
 */
public interface CorrectForecastService extends IService<CorrectForecast> {

    public void gatherForecast();

    public void removeForecastByDate();

    /**
     * 获取订正数据
     * @param pattern
     * @param date
     * @param startTime
     * @param moment
     * @return
     */
    List<CorrectForecast> getList(String pattern, String date, String startTime, String moment,String stationName);

    /**
     * 订正预报 产品制作
     * @param pattern
     * @param date
     * @param startTime
     * @param moment
     * @param product
     * @return
     */
    ReturnData makeProduct(String pattern, String date, String startTime, String moment,String stationName, Product product);


}
